<div id="leftContent">

<h1>Access error</h1>
<p>This project still didn't reached a 100% stable version. If an error is found, collaborate with developers reporting the problem.</p>

<h1>Reporting bugs</h1>
<p>Send an email to lms[at]ic[dot]unicamp[dot]br with more details as possible. For example: activities that were in process before the error, error messages and the sistem behavior after the error.</p>

</div>

<div id="mainContent">

<h1>Error</h1>
<p>
<?php
	switch ( strtolower(trim($error)) )
	{
		case "reiniciarsessao":
			$_aviso = "Our server encounter some problems when autenticating your user.<br>" .
					"Please, verify your computer security policy.<br>";
			break;
		
		case "bancodedadosdesligado":
			$_aviso = "Our database is offline for maintenance.<br>" .
					"Contact the administrator for more information.<br>";
			break;
		
		case "logininvalido":
			$_aviso = "Wrong username or password.<br>" .
					"Try again.<br>";
			break;
		
		case "acessosemlogin":
			$_aviso = "You tried to access and protected page.<br>" .
					"Please, autenthicate first before continuing.<br>";
			break;
		
		case "naoadmin":
			$_aviso = "You tried to access an special page.<br>" .
					"Just administrators can view this page. Sorry.<br>";
			break;
	}
	echo $_aviso;
?>
</p>

</div>